main: Set log handler for OSTree domain
authorDan Nicholson <nicholson@endlessm.com>
Sat, 26 Mar 2016 15:35:30 +0000 (08:35 -0700)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Sat, 26 Mar 2016 18:22:59 +0000 (18:22 +0000)
commitb1e1e5166018aac690af841232a1a2c9c1d835c4
treed74f49983c3d95e02fd3a5931e8759819b2abef9
parente9c58fe706839ee13d2b4f0346271a121998070f
main: Set log handler for OSTree domain

Now that OSTree is used as G_LOG_DOMAIN, set the main handler to match
so the appropriate messages are filtered. It would probably be more
appropriate to spell out "OSTree" in the code, but since G_LOG_DOMAIN is
being defined globally in the project, might as well reuse it here.

https://bugzilla.gnome.org/show_bug.cgi?id=764237

Closes: #225
Approved by: cgwalters
src/ostree/ot-main.c